<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.1.1">
  <link rel="apple-touch-icon" sizes="180x180" href="/hexo/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/hexo/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/hexo/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/hexo/images/logo.svg" color="#222">

<link rel="stylesheet" href="/hexo/css/main.css">


<link rel="stylesheet" href="/hexo/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"youchen12138.gitee.io","root":"/hexo/","scheme":"Gemini","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta property="og:type" content="website">
<meta property="og:title" content="幽辰的博客">
<meta property="og:url" content="https://youchen12138.gitee.io/hexo/page/10/index.html">
<meta property="og:site_name" content="幽辰的博客">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="幽辰">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="https://youchen12138.gitee.io/hexo/page/10/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : true,
    isPost : false,
    lang   : 'en'
  };
</script>

  <title>幽辰的博客</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="Toggle navigation bar">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/hexo/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">幽辰的博客</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/hexo/" rel="section"><i class="fa fa-home fa-fw"></i>Home</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/hexo/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>Tags<span class="badge">23</span></a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/hexo/categories/" rel="section"><i class="fa fa-th fa-fw"></i>Categories<span class="badge">14</span></a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/hexo/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>Archives<span class="badge">127</span></a>

  </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content index posts-expand">
            
      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-CSS%E5%AE%9A%E4%BD%8D%EF%BC%88position%EF%BC%89/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-CSS%E5%AE%9A%E4%BD%8D%EF%BC%88position%EF%BC%89/" class="post-title-link" itemprop="url">CSS基础知识点--CSS定位（position）</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:34:40 / Modified: 14:34:53" itemprop="dateCreated datePublished" datetime="2020-08-26T14:34:40+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="定位模型"><a href="#定位模型" class="headerlink" title="定位模型"></a>定位模型</h2><ul>
<li><p>static：自然模型</p>
</li>
<li><p>relative：相对定位模型</p>
</li>
<li><p>absolute：绝对定位模型</p>
</li>
<li><p>fixed：固定定位模型</p>
</li>
<li><p>sticky：磁贴定位模型</p>
</li>
</ul>
<h2 id="static模型"><a href="#static模型" class="headerlink" title="static模型"></a>static模型</h2><p>静态定位 / 常规定位 / 自然定位</p>
<p>特点：</p>
<ol>
<li><p>忽略掉top、bottom、left、right 或者 z-index 声明</p>
</li>
<li><p>两个相邻的元素如果都设置了外边距，那么最终外边距 = 两者外边距中最大的</p>
</li>
<li><p>具有固定 width 和 height 值的元素，如果把左右外边距设置为 auto ，则左右外边距会自动扩大占满剩余宽度。造成的效果就是这个块居中</p>
</li>
</ol>
<h2 id="relative模型和absolute模型"><a href="#relative模型和absolute模型" class="headerlink" title="relative模型和absolute模型"></a>relative模型和absolute模型</h2><p>特点：</p>
<ol>
<li><p>relative模型（相对定位）：不脱离常规流</p>
</li>
<li><p>absolute模型（绝对定位）：脱离常规流</p>
</li>
<li><p>若父元素是相对定位，并且子元素是绝对定位，那么子元素的绝对定位是相对父元素</p>
</li>
<li><p>继上一个特点情况，若是想要实现子元素的块垂直或水平居中</p>
<ul>
<li><p>right 为 0 ，并且 left 为 0 ，margin 为 0 auto。实现水平居中</p>
</li>
<li><p>top 为 0 ，并且 bottom 为 0 ，margin 为 auto 0。实现垂直居中</p>
</li>
<li><p>top、right、bottom、left 均为 0，margin 为auto。实现水平垂直居中 </p>
</li>
<li><p>若 top、right、bottom、left 均为 auto，则会变为常规流（疑似有问题）</p>
</li>
</ul>
</li>
<li><p>定位的垂直水平居中，<font color="red">必须写定位模式</font></p>
<ul>
<li><p>需要给元素设置 top：50%，然后再 margin-top:负本身高度的一半。实现垂直居中</p>
</li>
<li><p>需要给元素设置 left：50%，然后再 margin-left:负本身宽度的一半。实现水平居中</p>
</li>
</ul>
</li>
</ol>
<h2 id="fix模型"><a href="#fix模型" class="headerlink" title="fix模型"></a>fix模型</h2><p>有些类似于 background-attachment 属性</p>
<h2 id="sticky模型（CSS3）"><a href="#sticky模型（CSS3）" class="headerlink" title="sticky模型（CSS3）"></a>sticky模型（CSS3）</h2><p>磁贴定位 / 粘性定位 / 吸附定位</p>
<p>作用：relative + fixed 的完美结合，制造出吸附效果</p>
<p>特点：</p>
<ol>
<li><p>如果产生偏移，原位置还是会在常规流中</p>
</li>
<li><p>如果它的最近父元素有滚动，那么它的偏移标尺就是最近的父元素</p>
</li>
<li><p>如果最近父元素没有滚动，那么它的偏移标尺是视口</p>
</li>
<li><p>上下左右的偏移规则</p>
</li>
<li><p>top等定位属性更像是条件，而非是坐标</p>
</li>
</ol>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-CSS%E6%96%87%E6%9C%AC%E6%A0%B7%E5%BC%8F%EF%BC%88text%EF%BC%89/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-CSS%E6%96%87%E6%9C%AC%E6%A0%B7%E5%BC%8F%EF%BC%88text%EF%BC%89/" class="post-title-link" itemprop="url">CSS基础知识点--CSS文本样式（text）</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:33:41 / Modified: 14:33:59" itemprop="dateCreated datePublished" datetime="2020-08-26T14:33:41+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="文本样式属性"><a href="#文本样式属性" class="headerlink" title="文本样式属性"></a>文本样式属性</h2><h3 id="text-align"><a href="#text-align" class="headerlink" title="text-align"></a>text-align</h3><p>设置元素内文本对齐方式</p>
<p>语法：</p>
<blockquote>
<p>text-algin：left | right | center | justify</p>
</blockquote>
<p>注：该属性只对块级元素的设置有效</p>
<h3 id="line-height属性"><a href="#line-height属性" class="headerlink" title="line-height属性"></a>line-height属性</h3><p>设置元素中文本行高</p>
<p>语法：</p>
<blockquote>
<p>line-height：长度值 | 百分比</p>
</blockquote>
<p>em/%都会相对于字体大小来变化</p>
<h3 id="vertical-align"><a href="#vertical-align" class="headerlink" title="vertical-align"></a>vertical-align</h3><p>设置元素内容的垂直方式</p>
<p>语法：</p>
<blockquote>
<p>vertical-align：baseline(默认) | sub | super | top | text-top | middle | bottom | text-bottom | 长度 | 百分比</p>
</blockquote>
<p>说明：</p>
<ul>
<li><p>对行内元素有效，对块级元素无效</p>
</li>
<li><p>长度和百分比，上移为正，下移为负</p>
</li>
</ul>
<h3 id="水平居中与垂直居中"><a href="#水平居中与垂直居中" class="headerlink" title="水平居中与垂直居中"></a>水平居中与垂直居中</h3><p>技巧：</p>
<ul>
<li><p>单行文字垂直居中：将line-height属性设置和元素一样高</p>
</li>
<li><p>单行文字水平对齐：text-align：center</p>
</li>
<li><p>多行文字垂直居中：</p>
<ol>
<li><p>先用display属性将div转换为table的表格元素，变为行内元素（display：table-cell），同时也将div的父元素div也转换为table元素（display：table）</p>
</li>
<li><p>再用vertical-align：middle将单元格垂直居中</p>
</li>
</ol>
</li>
<li><p>多行文字水平居中：text-align：center</p>
</li>
</ul>
<h3 id="其他文本样式"><a href="#其他文本样式" class="headerlink" title="其他文本样式"></a>其他文本样式</h3><table>
<thead>
<tr>
<th>字体属性</th>
<th>说明</th>
</tr>
</thead>
<tbody><tr>
<td>word-spacing</td>
<td>设置元素内<font color="red">单词</font>之间间距</td>
</tr>
<tr>
<td>letter-spacing</td>
<td>设置元素内<font color="red">字母</font>之间间距</td>
</tr>
<tr>
<td>text-transform</td>
<td>设置元素内文本的大小写  capitalize / uppercase / lowercase / none</td>
</tr>
<tr>
<td>text-decoration</td>
<td>设置元素内文本的装饰  underline / overline / line-through / blink / none</td>
</tr>
</tbody></table>
<h4 id="text-indent"><a href="#text-indent" class="headerlink" title="text-indent"></a>text-indent</h4><p>主要作用：首行缩进</p>
<p>例：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">text-indent:2em;</span><br></pre></td></tr></table></figure>

<h2 id="CSS文本样式应用"><a href="#CSS文本样式应用" class="headerlink" title="CSS文本样式应用"></a>CSS文本样式应用</h2><p>经验技巧：</p>
<ol>
<li><p>网页制作从整体到局部</p>
</li>
<li><p>借助手册和网络</p>
</li>
</ol>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-CSS%E6%A0%B7%E5%BC%8F%E5%91%BD%E5%90%8D/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-CSS%E6%A0%B7%E5%BC%8F%E5%91%BD%E5%90%8D/" class="post-title-link" itemprop="url">CSS基础知识点--CSS样式命名</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:33:01 / Modified: 14:33:16" itemprop="dateCreated datePublished" datetime="2020-08-26T14:33:01+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <ol>
<li>页面结构</li>
</ol>
<table>
<thead>
<tr>
<th>结构</th>
<th>英文命名</th>
</tr>
</thead>
<tbody><tr>
<td>页头</td>
<td>header</td>
</tr>
<tr>
<td>导航</td>
<td>nav</td>
</tr>
<tr>
<td>页面主体</td>
<td>main</td>
</tr>
<tr>
<td>侧栏</td>
<td>sidebar</td>
</tr>
<tr>
<td>页尾</td>
<td>footer</td>
</tr>
<tr>
<td>栏目</td>
<td>column</td>
</tr>
<tr>
<td>内容</td>
<td>content/container</td>
</tr>
<tr>
<td>页面外围控制</td>
<td>wrapper</td>
</tr>
<tr>
<td>容器</td>
<td>container</td>
</tr>
<tr>
<td>左右中</td>
<td>left right center</td>
</tr>
</tbody></table>
<ol start="2">
<li>导航</li>
</ol>
<table>
<thead>
<tr>
<th>位置</th>
<th>英文命名</th>
</tr>
</thead>
<tbody><tr>
<td>导航</td>
<td>nav</td>
</tr>
<tr>
<td>左导航</td>
<td>leftSidebar</td>
</tr>
<tr>
<td>主导航</td>
<td>mainNav</td>
</tr>
<tr>
<td>右导航</td>
<td>rightSidebar</td>
</tr>
<tr>
<td>子导航</td>
<td>subNav</td>
</tr>
<tr>
<td>菜单</td>
<td>menu</td>
</tr>
<tr>
<td>顶导航</td>
<td>topNav</td>
</tr>
<tr>
<td>子菜单</td>
<td>subMenu</td>
</tr>
<tr>
<td>边导航</td>
<td>sidebar</td>
</tr>
<tr>
<td>标题</td>
<td>title</td>
</tr>
<tr>
<td>摘要</td>
<td>summary</td>
</tr>
</tbody></table>
<ol start="3">
<li>功能</li>
</ol>
<table>
<thead>
<tr>
<th>功能</th>
<th>英文命名</th>
</tr>
</thead>
<tbody><tr>
<td>标志</td>
<td>logo</td>
</tr>
<tr>
<td>注册</td>
<td>register</td>
</tr>
<tr>
<td>广告</td>
<td>banner</td>
</tr>
<tr>
<td>搜索</td>
<td>search</td>
</tr>
<tr>
<td>登陆</td>
<td>login</td>
</tr>
<tr>
<td>功能区</td>
<td>shop</td>
</tr>
<tr>
<td>登陆条</td>
<td>loginbar</td>
</tr>
<tr>
<td>标题</td>
<td>title</td>
</tr>
</tbody></table>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-CSS%E5%AD%97%E4%BD%93%E6%A0%B7%E5%BC%8F%EF%BC%88font%EF%BC%89/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-CSS%E5%AD%97%E4%BD%93%E6%A0%B7%E5%BC%8F%EF%BC%88font%EF%BC%89/" class="post-title-link" itemprop="url">CSS基础知识点--CSS字体样式（font）</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:32:06 / Modified: 14:32:31" itemprop="dateCreated datePublished" datetime="2020-08-26T14:32:06+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="文字样式属性"><a href="#文字样式属性" class="headerlink" title="文字样式属性"></a>文字样式属性</h2><table>
<thead>
<tr>
<th>文字样式</th>
<th>英文</th>
</tr>
</thead>
<tbody><tr>
<td>字体</td>
<td>font-family</td>
</tr>
<tr>
<td>文字大小</td>
<td>font-size</td>
</tr>
<tr>
<td>文字颜色</td>
<td>color</td>
</tr>
<tr>
<td>文字粗细</td>
<td>font-weight</td>
</tr>
<tr>
<td>文字样式</td>
<td>font-style</td>
</tr>
</tbody></table>
<h2 id="font-family字体属性"><a href="#font-family字体属性" class="headerlink" title="font-family字体属性"></a>font-family字体属性</h2><p>font-family属性值：具体字体名，字体集</p>
<p>字体集：</p>
<ul>
<li><p>Serif</p>
</li>
<li><p>Sans-serif</p>
</li>
<li><p>Monospace</p>
</li>
<li><p>Cursive</p>
</li>
<li><p>Fantasy</p>
</li>
</ul>
<h2 id="font-size文字大小"><a href="#font-size文字大小" class="headerlink" title="font-size文字大小"></a>font-size文字大小</h2><blockquote>
<p>font-size: 绝对单位 | 相对单位</p>
</blockquote>
<h3 id="绝对单位"><a href="#绝对单位" class="headerlink" title="绝对单位"></a>绝对单位</h3><table>
<thead>
<tr>
<th>属性值</th>
<th>说明</th>
</tr>
</thead>
<tbody><tr>
<td>in</td>
<td>Inch，英寸  1英寸=2.54厘米</td>
</tr>
<tr>
<td>cm</td>
<td>厘米  1厘米=0.394英寸</td>
</tr>
<tr>
<td>mm</td>
<td>毫米  1毫米=0.1厘米</td>
</tr>
<tr>
<td>pt</td>
<td>磅，印刷的点数  72磅=1英寸</td>
</tr>
<tr>
<td>pc</td>
<td>Pica，1pc=12pt</td>
</tr>
</tbody></table>
<table>
<thead>
<tr>
<th>属性值</th>
<th>CSS2缩放系数1.2</th>
</tr>
</thead>
<tbody><tr>
<td>xx-small</td>
<td>9px</td>
</tr>
<tr>
<td>x-small</td>
<td>11px</td>
</tr>
<tr>
<td>small</td>
<td>13px</td>
</tr>
<tr>
<td>medium（浏览器默认大小）</td>
<td>16px</td>
</tr>
<tr>
<td>large</td>
<td>19px</td>
</tr>
<tr>
<td>x-large</td>
<td>23px</td>
</tr>
<tr>
<td>xx-large</td>
<td>28px</td>
</tr>
</tbody></table>
<p>绝对大小，不能随浏览器分辨率或父元素大小的改变而改变</p>
<h3 id="相对单位"><a href="#相对单位" class="headerlink" title="相对单位"></a>相对单位</h3><ul>
<li><p>px 像素</p>
</li>
<li><p>em / %</p>
</li>
</ul>
<p>移动端一般不用px</p>
<h2 id="color文字颜色"><a href="#color文字颜色" class="headerlink" title="color文字颜色"></a>color文字颜色</h2><p>定义元素内文字颜色</p>
<p>语法：</p>
<blockquote>
<p>color：颜色名 | 十六进制 | RGB</p>
</blockquote>
<h2 id="font-weight文字粗细"><a href="#font-weight文字粗细" class="headerlink" title="font-weight文字粗细"></a>font-weight文字粗细</h2><p>为元素内文字设置粗细</p>
<p>语法：</p>
<blockquote>
<p>font-weight: normal | bold | bolder | lighter | 100~900</p>
</blockquote>
<p>说明：</p>
<p>默认值：normal</p>
<p>400等同于normal，而700等同于bold</p>
<h2 id="font-style文字样式"><a href="#font-style文字样式" class="headerlink" title="font-style文字样式"></a>font-style文字样式</h2><p>为元素内文字设置样式</p>
<p>语法：</p>
<blockquote>
<p>font-style: normal | italic | oblique</p>
</blockquote>
<h2 id="font-variant字体变形"><a href="#font-variant字体变形" class="headerlink" title="font-variant字体变形"></a>font-variant字体变形</h2><p>设置元素中文本为小型大写字母</p>
<p>语法：</p>
<blockquote>
<p>font-variant：normal | small-caps</p>
</blockquote>
<h2 id="font属性简写"><a href="#font属性简写" class="headerlink" title="font属性简写"></a>font属性简写</h2><p>语法：</p>
<blockquote>
<p>font：font-style font-variant font-weight font-size/line-height font-family</p>
</blockquote>
<p>说明：</p>
<ul>
<li><p>值之间空格隔开</p>
</li>
<li><p>注意书写顺序</p>
</li>
<li><p>如果font-family有多个值，用逗号分隔开</p>
</li>
</ul>
<p>注意：</p>
<ol>
<li><p>同时设置font-size和font-family，属性才起作用</p>
</li>
<li><p>前三者顺序是任意的</p>
</li>
<li><p>后两者顺序是font-size在前，font-family在后</p>
</li>
<li><p>如果有前面三者任意一种存在，必须在font-size和font-family前面</p>
</li>
</ol>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-float%E6%B5%AE%E5%8A%A8/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-float%E6%B5%AE%E5%8A%A8/" class="post-title-link" itemprop="url">CSS基础知识点--float浮动</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:31:14 / Modified: 14:31:35" itemprop="dateCreated datePublished" datetime="2020-08-26T14:31:14+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="CSS定位机制"><a href="#CSS定位机制" class="headerlink" title="CSS定位机制"></a>CSS定位机制</h2><ul>
<li><p>普通流（标准流）</p>
</li>
<li><p>浮动</p>
</li>
<li><p>绝对定位</p>
</li>
</ul>
<h3 id="普通流"><a href="#普通流" class="headerlink" title="普通流"></a>普通流</h3><p><font color="pink">普通流（标准流）</font>：默认状态，元素自动从左到右，从上往下的排列</p>
<h3 id="CSS-Float（浮动）的基础知识"><a href="#CSS-Float（浮动）的基础知识" class="headerlink" title="CSS Float（浮动）的基础知识"></a>CSS Float（浮动）的基础知识</h3><ul>
<li><p>会使元素向左或向右移动，只能左右，不能上下</p>
</li>
<li><p>浮动元素碰到包含框或另一个浮动框，浮动停止</p>
</li>
<li><p>浮动元素之后的元素将围绕它，之前的不受影响</p>
</li>
<li><p>浮动元素会脱离标准流</p>
</li>
</ul>
<h3 id="浮动的基本语法"><a href="#浮动的基本语法" class="headerlink" title="浮动的基本语法"></a>浮动的基本语法</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">float：left     靠左浮动</span><br><span class="line"></span><br><span class="line">float：right    靠右浮动</span><br><span class="line"></span><br><span class="line">float：none     不使用浮动</span><br></pre></td></tr></table></figure>

<h3 id="使用浮动后产生的问题"><a href="#使用浮动后产生的问题" class="headerlink" title="使用浮动后产生的问题"></a>使用浮动后产生的问题</h3><p>元素使用浮动后会脱离普通流，出现“高度塌陷”，也叫做浮动溢出。</p>
<h2 id="清除浮动语法"><a href="#清除浮动语法" class="headerlink" title="清除浮动语法"></a>清除浮动语法</h2><blockquote>
<p>clear：none | left | right | both</p>
</blockquote>
<h3 id="为什么要清除浮动"><a href="#为什么要清除浮动" class="headerlink" title="为什么要清除浮动"></a>为什么要清除浮动</h3><p>设置了float的元素会影响其他相邻元素，需要使用clear清除浮动，clear只会影响自身，不会对其他相邻元素造成影响！</p>
<h3 id="清除浮动的常用方法"><a href="#清除浮动的常用方法" class="headerlink" title="清除浮动的常用方法"></a>清除浮动的常用方法</h3><h4 id="方法一：在浮动元素后使用一个空元素"><a href="#方法一：在浮动元素后使用一个空元素" class="headerlink" title="方法一：在浮动元素后使用一个空元素"></a>方法一：在浮动元素后使用一个空元素</h4><p>例如：<code>&lt;div class=&quot;clear&gt;&lt;/div&gt;</code></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">.clear&#123;</span><br><span class="line">    clear:both;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<h4 id="方法二：给浮动元素的容器添加-overflow：hidden；"><a href="#方法二：给浮动元素的容器添加-overflow：hidden；" class="headerlink" title="方法二：给浮动元素的容器添加 overflow：hidden；"></a>方法二：给浮动元素的容器添加 overflow：hidden；</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">*zoom:1     &#x2F;&#x2F;触发 hasLayout 兼容 IE 6、7</span><br></pre></td></tr></table></figure>

<h4 id="方法三：使用CSS3的-after-伪元素"><a href="#方法三：使用CSS3的-after-伪元素" class="headerlink" title="方法三：使用CSS3的 :after 伪元素"></a>方法三：使用CSS3的 :after 伪元素</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">.clearfix:after&#123;</span><br><span class="line">    content:&quot;.&quot;;</span><br><span class="line">    display:block;</span><br><span class="line">    height:0;</span><br><span class="line">    visibility:hidden;</span><br><span class="line">    clear:both;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<h3 id="清除浮动其他方法"><a href="#清除浮动其他方法" class="headerlink" title="清除浮动其他方法"></a>清除浮动其他方法</h3><ol>
<li><p>父级元素定义 height 。只适合高度固定的布局</p>
</li>
<li><p>父级元素也一起浮动。不推荐，会产生新的浮动问题</p>
</li>
</ol>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-%E8%83%8C%E6%99%AF%E5%92%8C%E5%88%97%E8%A1%A8/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-%E8%83%8C%E6%99%AF%E5%92%8C%E5%88%97%E8%A1%A8/" class="post-title-link" itemprop="url">CSS基础知识点--背景和列表</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2020-08-26 14:26:04" itemprop="dateCreated datePublished" datetime="2020-08-26T14:26:04+08:00">2020-08-26</time>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          
      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-%E7%9B%92%E5%AD%90%E6%A8%A1%E5%9E%8B/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-%E7%9B%92%E5%AD%90%E6%A8%A1%E5%9E%8B/" class="post-title-link" itemprop="url">CSS基础知识点--盒子模型</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:25:04 / Modified: 14:26:31" itemprop="dateCreated datePublished" datetime="2020-08-26T14:25:04+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="宽度属性"><a href="#宽度属性" class="headerlink" title="宽度属性"></a>宽度属性</h2><p>宽度：</p>
<blockquote>
<p>width：长度值 | 百分比 | auto</p>
</blockquote>
<p>最大宽度：</p>
<blockquote>
<p>max-width：长度值 | 百分比 | auto</p>
</blockquote>
<p>最小宽度：</p>
<blockquote>
<p>min-width：长度值 | 百分比 | auto</p>
</blockquote>
<p>说明：设置块级元素和替换元素的内容宽度</p>
<h2 id="高度属性"><a href="#高度属性" class="headerlink" title="高度属性"></a>高度属性</h2><p>高度：</p>
<blockquote>
<p>height：长度值 | 百分比 | auto</p>
</blockquote>
<p>最大高度：</p>
<blockquote>
<p>max-height：长度值 | 百分比 | auto</p>
</blockquote>
<p>最小高度：</p>
<blockquote>
<p>min-height：长度值 | 百分比 | auto</p>
</blockquote>
<p>说明：设置块级元素和替换元素的内容高度</p>
<h2 id="哪些HTML元素可设置高和宽属性"><a href="#哪些HTML元素可设置高和宽属性" class="headerlink" title="哪些HTML元素可设置高和宽属性"></a>哪些HTML元素可设置高和宽属性</h2><ul>
<li><p>块级元素</p>
</li>
<li><p>替换元素</p>
</li>
</ul>
<p>例如：<code>&lt;input&gt;</code>、<code>&lt;img&gt;</code>、<code>&lt;textarea&gt;</code></p>
<h2 id="边框"><a href="#边框" class="headerlink" title="边框"></a>边框</h2><ul>
<li><p>边框宽度：border-width</p>
</li>
<li><p>边框颜色：border-color</p>
</li>
<li><p>边框样式：border-style</p>
</li>
</ul>
<h3 id="边框宽度"><a href="#边框宽度" class="headerlink" title="边框宽度"></a>边框宽度</h3><p>设置元素边框宽度</p>
<blockquote>
<p>border-width：thin | medium | thick | 长度值</p>
</blockquote>
<h3 id="边框颜色"><a href="#边框颜色" class="headerlink" title="边框颜色"></a>边框颜色</h3><p>设置元素边框颜色</p>
<blockquote>
<p>border-color：颜色 | transparent</p>
</blockquote>
<p>如果不给边框设置颜色，则边框颜色与元素内文本颜色一致</p>
<h3 id="边框样式"><a href="#边框样式" class="headerlink" title="边框样式"></a>边框样式</h3><p>设置元素边框样式</p>
<p>border-style：值</p>
<table>
<thead>
<tr>
<th>值</th>
<th>描述</th>
</tr>
</thead>
<tbody><tr>
<td>none</td>
<td>定义无边框。默认值</td>
</tr>
<tr>
<td>hidden</td>
<td>与none相同。除非在表格元素中解决边框冲突时</td>
</tr>
<tr>
<td>dotted</td>
<td>定义点状边框。在大多数浏览器中呈现为实线</td>
</tr>
<tr>
<td>dashed</td>
<td>定义虚线。在大多数浏览器中呈现为实线</td>
</tr>
<tr>
<td>solid</td>
<td>定义实线</td>
</tr>
<tr>
<td>double</td>
<td>定义双线</td>
</tr>
<tr>
<td>groove</td>
<td>定义3D凹槽边框</td>
</tr>
<tr>
<td>ridge</td>
<td>定义3D垄状边框</td>
</tr>
<tr>
<td>inset</td>
<td>定义3Dinset边框</td>
</tr>
<tr>
<td>outset</td>
<td>定义3Doutset边框</td>
</tr>
<tr>
<td>inherit</td>
<td>规定应该从父元素继承边框样式</td>
</tr>
</tbody></table>
<h3 id="四个方向的边框"><a href="#四个方向的边框" class="headerlink" title="四个方向的边框"></a>四个方向的边框</h3><p>4个不同方向来表示（上、下、左、右）</p>
<p>表示：</p>
<ul>
<li><p>border-[left | right | top | bottom] - width</p>
</li>
<li><p>border-[left | right | top | bottom] - color</p>
</li>
<li><p>border-[left | right | top | bottom] - style</p>
</li>
</ul>
<h3 id="边框缩写"><a href="#边框缩写" class="headerlink" title="边框缩写"></a>边框缩写</h3><p>所有方向：</p>
<blockquote>
<p>border: [宽度] | [样式] | [颜色]</p>
</blockquote>
<p>不同方向：</p>
<blockquote>
<p>border-top: [宽度] | [样式] | [颜色]</p>
</blockquote>
<blockquote>
<p>border-left: [宽度] | [样式] | [颜色]</p>
</blockquote>
<blockquote>
<p>border-right: [宽度] | [样式] | [颜色]</p>
</blockquote>
<blockquote>
<p>border-bottom: [宽度] | [样式] | [颜色]</p>
</blockquote>
<h2 id="内边距（padding）属性"><a href="#内边距（padding）属性" class="headerlink" title="内边距（padding）属性"></a>内边距（padding）属性</h2><p>设置元素的内容与边框之间的距离（内边距或填充），分4个方向（上、右、左、下）</p>
<ul>
<li><p>padding-top：长度值 | 百分比</p>
</li>
<li><p>padding-right：长度值 | 百分比</p>
</li>
<li><p>padding-bottom：长度值 | 百分比</p>
</li>
<li><p>padding-left：长度值 | 百分比</p>
</li>
</ul>
<p>说明：值不能为负</p>
<h3 id="内边距属性缩写"><a href="#内边距属性缩写" class="headerlink" title="内边距属性缩写"></a>内边距属性缩写</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">padding：值1；&#x2F;&#x2F;4个方向都为值1</span><br><span class="line"></span><br><span class="line">padding：值1 值2；&#x2F;&#x2F;上下&#x3D;值1，左右&#x3D;值2</span><br><span class="line"></span><br><span class="line">padding：值1 值2 值3；&#x2F;&#x2F;上&#x3D;值1，左右&#x3D;值2，下&#x3D;值3</span><br><span class="line"></span><br><span class="line">padding：值1 值2 值3 值4；&#x2F;&#x2F;上&#x3D;值1，右&#x3D;值2，下&#x3D;值3，左&#x3D;值4</span><br></pre></td></tr></table></figure>

<h2 id="外边距（margin）属性"><a href="#外边距（margin）属性" class="headerlink" title="外边距（margin）属性"></a>外边距（margin）属性</h2><p>设置元素与元素之间的举例（外边距），4个方向（上、右、下、左）</p>
<ul>
<li><p>margin-top：长度值 | 百分比 | auto</p>
</li>
<li><p>margin-right：长度值 | 百分比 | auto</p>
</li>
<li><p>margin-bottom：长度值 | 百分比 | auto</p>
</li>
<li><p>margin-left：长度值 | 百分比 | auto</p>
</li>
</ul>
<p>说明：值可为负</p>
<ul>
<li><p>margin的值为auto，实现水平方向居中显示效果</p>
</li>
<li><p>由浏览器计算外边距</p>
</li>
</ul>
<h3 id="外边距属性缩写"><a href="#外边距属性缩写" class="headerlink" title="外边距属性缩写"></a>外边距属性缩写</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">margin：值1；&#x2F;&#x2F;4个方向都为值1</span><br><span class="line"></span><br><span class="line">margin：值1 值2；&#x2F;&#x2F;上下&#x3D;值1，左右&#x3D;值2</span><br><span class="line"></span><br><span class="line">margin：值1 值2 值3；&#x2F;&#x2F;上&#x3D;值1，左右&#x3D;值2，下&#x3D;值3</span><br><span class="line"></span><br><span class="line">margin：值1 值2 值3 值4；&#x2F;&#x2F;上&#x3D;值1，右&#x3D;值2，下&#x3D;值3，左&#x3D;值4</span><br></pre></td></tr></table></figure>

<h3 id="外边距要点"><a href="#外边距要点" class="headerlink" title="外边距要点"></a>外边距要点</h3><ul>
<li><p>垂直方向，两个相邻元素都设置外边距，外边距会发生合并</p>
</li>
<li><p>合并后外边距高度 = 两个发生合并外边距的高度中最大值</p>
</li>
</ul>
<h2 id="盒子模型计算"><a href="#盒子模型计算" class="headerlink" title="盒子模型计算"></a>盒子模型计算</h2><p>盒子在页面中所占的宽度 = 左边距 + 左边框 + 左填充 + 内容宽度 + 右边距 + 右边框 + 右填充</p>
<p>高度类似</p>
<p>注意：</p>
<ol>
<li><p>如果没有Doctype文档类型声明，各浏览器按照自己的方式解析。</p>
</li>
<li><p>如果有Doctype文档类型声明，按照标准盒子模型来解析。</p>
</li>
</ol>
<h2 id="display属性"><a href="#display属性" class="headerlink" title="display属性"></a>display属性</h2><p>display有四个属性值，分别是：</p>
<ol>
<li><p>inline：元素将显示为内联元素，元素前后没有换行符</p>
</li>
<li><p>block：元素将显示为块级元素，元素前后会带有换行符</p>
</li>
<li><p>inline-block：元素将显示为行内块元素，元素呈现为inline，具有block相应特性</p>
</li>
<li><p>none：此元素不会被显示</p>
</li>
</ol>
<h3 id="重点"><a href="#重点" class="headerlink" title="重点"></a>重点</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">display: flex;</span><br><span class="line">justify-content: space-between;</span><br><span class="line">&#x2F;&#x2F; 两个属性结合使用可以让元素在容器中左右均匀分布。最常用于移动端开发</span><br></pre></td></tr></table></figure>
      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-%E7%BD%91%E9%A1%B5%E5%B8%83%E5%B1%80/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-%E7%BD%91%E9%A1%B5%E5%B8%83%E5%B1%80/" class="post-title-link" itemprop="url">CSS基础知识点--网页布局</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:24:20 / Modified: 14:30:19" itemprop="dateCreated datePublished" datetime="2020-08-26T14:24:20+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="布局模型"><a href="#布局模型" class="headerlink" title="布局模型"></a>布局模型</h2><ul>
<li><p>两列布局</p>
</li>
<li><p>三列布局</p>
</li>
<li><p>圣杯布局</p>
</li>
<li><p>双飞翼布局</p>
</li>
</ul>
<h3 id="圣杯布局"><a href="#圣杯布局" class="headerlink" title="圣杯布局"></a>圣杯布局</h3><ol>
<li><p>三列布局，中间宽度自适应，两边定宽</p>
</li>
<li><p>中间栏要在浏览器优先展示渲染</p>
</li>
<li><p>允许任意列的高度最高</p>
</li>
<li><p>用最简单的CSS、最少的HACK语句</p>
</li>
</ol>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-%E9%80%89%E6%8B%A9%E5%99%A8/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E7%82%B9-%E9%80%89%E6%8B%A9%E5%99%A8/" class="post-title-link" itemprop="url">CSS基础知识点--选择器</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:23:21 / Modified: 14:26:53" itemprop="dateCreated datePublished" datetime="2020-08-26T14:23:21+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="种类"><a href="#种类" class="headerlink" title="种类"></a>种类</h2><ul>
<li><p>标签选择器</p>
</li>
<li><p>类选择器</p>
</li>
<li><p>ID选择器</p>
</li>
<li><p>全局选择器</p>
</li>
<li><p>群组选择器</p>
</li>
<li><p>后代选择器</p>
</li>
</ul>
<h2 id="伪类选择器"><a href="#伪类选择器" class="headerlink" title="伪类选择器"></a>伪类选择器</h2><ul>
<li><p>伪类选择器定义特殊状态下的样式</p>
</li>
<li><p>无法用标签、id、class及其他属性实现</p>
</li>
</ul>
<h3 id="链接伪类"><a href="#链接伪类" class="headerlink" title="链接伪类"></a>链接伪类</h3><p>链接的4种状态：激活状态，已访问状态，未访问状态和鼠标悬停状态</p>
<table>
<thead>
<tr>
<th>伪类</th>
<th>说明</th>
</tr>
</thead>
<tbody><tr>
<td>:link</td>
<td>未访问的链接</td>
</tr>
<tr>
<td>:visited</td>
<td>已访问的链接</td>
</tr>
<tr>
<td>:hover</td>
<td>鼠标悬停状态</td>
</tr>
<tr>
<td>:active</td>
<td>激活的链接</td>
</tr>
</tbody></table>
<h4 id="链接伪类的顺序"><a href="#链接伪类的顺序" class="headerlink" title="链接伪类的顺序"></a>链接伪类的顺序</h4><p>:link &gt; :visited &gt; :hover &gt; :active</p>
<p>说明：</p>
<ol>
<li><p>a:hover必须置于a:link和a:visited之后，才有效</p>
</li>
<li><p>a:active必须置于a:hover之后，才有效</p>
</li>
<li><p>伪类名称对大小写不敏感</p>
</li>
</ol>
<h3 id="伪类-hover和-active"><a href="#伪类-hover和-active" class="headerlink" title="伪类:hover和:active"></a>伪类:hover和:active</h3><ol>
<li><p>:hover用于访问的鼠标经过某个元素时</p>
</li>
<li><p>:active用于一个元素被激活时（即按下鼠标之后放开鼠标之前的时间）</p>
</li>
</ol>
<h4 id="伪类-hover和-active兼容"><a href="#伪类-hover和-active兼容" class="headerlink" title="伪类:hover和:active兼容"></a>伪类:hover和:active兼容</h4><ul>
<li><p>IE6及更早版本，支持<code>&lt;a&gt;</code>元素的4种状态</p>
</li>
<li><p>IE6浏览器不支持元素的:hover和:active</p>
</li>
</ul>
<h2 id="CSS层叠"><a href="#CSS层叠" class="headerlink" title="CSS层叠"></a>CSS层叠</h2><ul>
<li><p>可以定义多个样式</p>
</li>
<li><p>不冲突时，多个样式课层叠为一个</p>
</li>
<li><p>冲突时，按不同样式规则优先级来应用样式</p>
</li>
</ul>
<h2 id="CSS选择器优先级"><a href="#CSS选择器优先级" class="headerlink" title="CSS选择器优先级"></a>CSS选择器优先级</h2><p>id选择器 &gt; class选择器 &gt; 标签选择器 &gt; 通配符</p>
<p>同一元素使用相同类型的选择器定义相同类型样式，优先级按就近原则</p>
<h2 id="CSS优先级规则"><a href="#CSS优先级规则" class="headerlink" title="CSS优先级规则"></a>CSS优先级规则</h2><p>同一样式表中：</p>
<ol>
<li>权值相同</li>
</ol>
<ul>
<li>就近原则（离被设置元素越近优先级越高）</li>
</ul>
<ol start="2">
<li>权值不同</li>
</ol>
<ul>
<li><p>根据权值来判断CSS样式</p>
</li>
<li><p>哪种CSS样式权值越高，就使用哪种样式</p>
</li>
</ul>
<h2 id="选择器权值"><a href="#选择器权值" class="headerlink" title="选择器权值"></a>选择器权值</h2><table>
<thead>
<tr>
<th>选择器</th>
<th>权值</th>
</tr>
</thead>
<tbody><tr>
<td>标签选择器</td>
<td>1</td>
</tr>
<tr>
<td>类选择器</td>
<td>10</td>
</tr>
<tr>
<td>伪类</td>
<td>10</td>
</tr>
<tr>
<td>ID选择器</td>
<td>100</td>
</tr>
<tr>
<td>通配符选择器</td>
<td>0</td>
</tr>
<tr>
<td>行内样式</td>
<td>1000</td>
</tr>
</tbody></table>
<h3 id="权值规则"><a href="#权值规则" class="headerlink" title="权值规则"></a>权值规则</h3><ol>
<li><p>统计不同选择器的个数</p>
</li>
<li><p>每类选择器的个数乘以相应权值</p>
</li>
<li><p>把所有的值相加得出选择器的权值</p>
</li>
</ol>
<h3 id="important规则"><a href="#important规则" class="headerlink" title="!important规则"></a>!important规则</h3><ul>
<li><p>可调整样式规则的优先级，使其权值最高</p>
</li>
<li><p>添加在样式规则之后，中间用空格隔开</p>
</li>
</ul>
<h2 id="CSS样式命名规则"><a href="#CSS样式命名规则" class="headerlink" title="CSS样式命名规则"></a>CSS样式命名规则</h2><ul>
<li><p>采用英文字母、数字以及”-“和”_”命名</p>
</li>
<li><p>以小写字母开头，不能以数字和”-“、”_”开头</p>
</li>
<li><p>命名形式：单字，连字符，下划线和驼峰</p>
</li>
<li><p>使用有意义命名</p>
</li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="en">
    <link itemprop="mainEntityOfPage" href="https://youchen12138.gitee.io/hexo/2020/08/26/CSS%E8%BF%9B%E9%98%B6%E7%9F%A5%E8%AF%86%E7%82%B9-2D%E8%BD%AC%E6%8D%A2/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/hexo/images/avatar.jpg">
      <meta itemprop="name" content="幽辰">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="幽辰的博客">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/hexo/2020/08/26/CSS%E8%BF%9B%E9%98%B6%E7%9F%A5%E8%AF%86%E7%82%B9-2D%E8%BD%AC%E6%8D%A2/" class="post-title-link" itemprop="url">CSS进阶知识点--2D转换</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2020-08-26 14:21:55 / Modified: 14:22:42" itemprop="dateCreated datePublished" datetime="2020-08-26T14:21:55+08:00">2020-08-26</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/hexo/categories/CSS/" itemprop="url" rel="index"><span itemprop="name">CSS</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="变形-Transform-属性"><a href="#变形-Transform-属性" class="headerlink" title="变形(Transform)属性"></a>变形(Transform)属性</h2><p>让元素在一个坐标系统中变形。这个属性包含一系列变形函数，可以移动、旋转和缩放元素</p>
<h3 id="语法"><a href="#语法" class="headerlink" title="语法"></a>语法</h3><blockquote>
<p>transform：none（默认值） | <code>&lt;transform-function&gt;</code> [ <code>&lt;transform-function&gt;</code> ] *;</p>
</blockquote>
<h1 id="2D-转换"><a href="#2D-转换" class="headerlink" title="2D 转换"></a>2D 转换</h1><table>
<thead>
<tr>
<th>属性</th>
<th>作用</th>
</tr>
</thead>
<tbody><tr>
<td>rotate()</td>
<td>旋转</td>
</tr>
<tr>
<td>translate()</td>
<td>平移</td>
</tr>
<tr>
<td>scale()</td>
<td>缩放</td>
</tr>
<tr>
<td>skew()</td>
<td>扭曲或斜切</td>
</tr>
</tbody></table>
<h2 id="旋转-rotate"><a href="#旋转-rotate" class="headerlink" title="旋转 rotate"></a>旋转 rotate</h2><p>通过指定的角度参数对原元素指定一个2D rotation（2D 旋转）</p>
<h3 id="语法-1"><a href="#语法-1" class="headerlink" title="语法"></a>语法</h3><blockquote>
<p>transform: rotate(<code>&lt;angle&gt;</code>)</p>
</blockquote>
<h3 id="参数说明"><a href="#参数说明" class="headerlink" title="参数说明"></a>参数说明</h3><p>angle 指旋转角度，正数表示顺时针旋转，负数表示逆时针旋转</p>
<h2 id="移动-translate"><a href="#移动-translate" class="headerlink" title="移动 translate"></a>移动 translate</h2><p>根据左（X轴）和顶部（Y轴）位置给定的参数，从当前元素位置移动</p>
<h3 id="translateX"><a href="#translateX" class="headerlink" title="translateX"></a>translateX</h3><p>通过给定一个X方向上的数目指定一个 translation</p>
<h4 id="语法-2"><a href="#语法-2" class="headerlink" title="语法"></a>语法</h4><blockquote>
<p>transform：translateX( value )</p>
</blockquote>
<h3 id="translateY"><a href="#translateY" class="headerlink" title="translateY"></a>translateY</h3><p>通过给定一个Y方向上的数目指定一个 translation</p>
<h4 id="语法-3"><a href="#语法-3" class="headerlink" title="语法"></a>语法</h4><blockquote>
<p>transform：translateY( value )</p>
</blockquote>
<h3 id="translate"><a href="#translate" class="headerlink" title="translate"></a>translate</h3><p>通过给定一个X和Y方向上的数目指定一个 translation</p>
<h4 id="语法-4"><a href="#语法-4" class="headerlink" title="语法"></a>语法</h4><blockquote>
<p>transform：translate( value1, [ value2 ] )</p>
</blockquote>
<p>如果写一个参数，代表 X 方向平移多少，而 Y 方向平移为 0 </p>
<h2 id="缩放-scale"><a href="#缩放-scale" class="headerlink" title="缩放 scale"></a>缩放 scale</h2><p>指定对象的 2D scale（2D缩放）</p>
<h3 id="取值说明"><a href="#取值说明" class="headerlink" title="取值说明"></a>取值说明</h3><p>只能为 数值，不能带单位</p>
<h3 id="scaleX"><a href="#scaleX" class="headerlink" title="scaleX"></a>scaleX</h3><p>X 轴方向往中间缩放，以中线为原点线</p>
<h4 id="语法-5"><a href="#语法-5" class="headerlink" title="语法"></a>语法</h4><blockquote>
<p>transform：scaleX( number )</p>
</blockquote>
<h3 id="scaleY"><a href="#scaleY" class="headerlink" title="scaleY"></a>scaleY</h3><p>Y 轴方向往中间缩放，以中线为原点线</p>
<h4 id="语法-6"><a href="#语法-6" class="headerlink" title="语法"></a>语法</h4><blockquote>
<p>transform：scaleY( number )</p>
</blockquote>
<h3 id="scale"><a href="#scale" class="headerlink" title="scale"></a>scale</h3><p>X 轴和 Y 轴方向往中间缩放</p>
<h4 id="语法-7"><a href="#语法-7" class="headerlink" title="语法"></a>语法</h4><blockquote>
<p>transform：scale( number1, [ number2 ] )</p>
</blockquote>
<p>如果写一个参数，代表 X 方向缩放多少，而 Y 方向和 X 方向缩放比例相同</p>
<h2 id="扭曲-skew"><a href="#扭曲-skew" class="headerlink" title="扭曲 skew"></a>扭曲 skew</h2><p>指定对象 skew transformation（斜切扭曲）</p>
<h3 id="skewX"><a href="#skewX" class="headerlink" title="skewX"></a>skewX</h3><p>按给定角度沿 X 轴指定一个 skew transformation（斜切变换）</p>
<h4 id="语法-8"><a href="#语法-8" class="headerlink" title="语法"></a>语法</h4><blockquote>
<p>transform：skewX( angle )</p>
</blockquote>
<h4 id="取值"><a href="#取值" class="headerlink" title="取值"></a>取值</h4><ul>
<li><p>正值：逆时针</p>
</li>
<li><p>负值：顺时针</p>
</li>
</ul>
<h3 id="skewY"><a href="#skewY" class="headerlink" title="skewY"></a>skewY</h3><p>按给定角度沿 Y 轴指定一个 skew transformation（斜切变换）</p>
<h4 id="语法-9"><a href="#语法-9" class="headerlink" title="语法"></a>语法</h4><blockquote>
<p>transform：skewY( angle )</p>
</blockquote>
<h4 id="取值-1"><a href="#取值-1" class="headerlink" title="取值"></a>取值</h4><ul>
<li><p>正值：顺时针</p>
</li>
<li><p>负值：逆时针</p>
</li>
<li><p>有效范围为-90~90，其余取值会重复</p>
</li>
</ul>
<h3 id="skew"><a href="#skew" class="headerlink" title="skew"></a>skew</h3><p>综合 skewX 和 skewY 的情况</p>
<h4 id="取值-2"><a href="#取值-2" class="headerlink" title="取值"></a>取值</h4><p>如果只有一个值，则 skewY 为0deg</p>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  


  
  <nav class="pagination">
    <a class="extend prev" rel="prev" href="/hexo/page/9/"><i class="fa fa-angle-left" aria-label="Previous page"></i></a><a class="page-number" href="/hexo/">1</a><span class="space">&hellip;</span><a class="page-number" href="/hexo/page/9/">9</a><span class="page-number current">10</span><a class="page-number" href="/hexo/page/11/">11</a><span class="space">&hellip;</span><a class="page-number" href="/hexo/page/13/">13</a><a class="extend next" rel="next" href="/hexo/page/11/"><i class="fa fa-angle-right" aria-label="Next page"></i></a>
  </nav>



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          Table of Contents
        </li>
        <li class="sidebar-nav-overview">
          Overview
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="幽辰"
      src="/hexo/images/avatar.jpg">
  <p class="site-author-name" itemprop="name">幽辰</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/hexo/archives/">
        
          <span class="site-state-item-count">127</span>
          <span class="site-state-item-name">posts</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/hexo/categories/">
          
        <span class="site-state-item-count">14</span>
        <span class="site-state-item-name">categories</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/hexo/tags/">
          
        <span class="site-state-item-count">23</span>
        <span class="site-state-item-name">tags</span></a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">幽辰</span>
</div>
  <div class="powered-by">Powered by <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a>
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/hexo/lib/anime.min.js"></script>
  <script src="/hexo/lib/velocity/velocity.min.js"></script>
  <script src="/hexo/lib/velocity/velocity.ui.min.js"></script>

<script src="/hexo/js/utils.js"></script>

<script src="/hexo/js/motion.js"></script>


<script src="/hexo/js/schemes/pisces.js"></script>


<script src="/hexo/js/next-boot.js"></script>




  















  

  

</body>
</html>
